package 慕课网.homework5;

public class Earth {
    private String name;
    private Earth(){

    }
    private static Earth earth=new Earth();
    public static Earth getInstance(){
        return earth;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
